package both;

import javax.xml.bind.annotation.*;
/*
 * Gameshow
 */

@XmlRootElement

/**
 * Server class to store data for a single contestant
 * @author Timothy Woodford
 */

@XmlType(propOrder={"name","teamName","uniqueID"})
public class Contestant {

    private String name;
    private String teamName;
    private String uniqueID;
    /**
     * @return the contestant's name
     */
    
    public String getName() {
        return name;
    }
    
    /**
     * @param name the name to set
     */

    @XmlElement
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the teamName
     */

    public String getTeamName() {
        return teamName;
    }


    /**
     * @param teamName the teamName to set
     */
     @XmlElement
    public void setTeamName(String teamName) {
        this.teamName = teamName;
    }


    /**
     * @return the uniqueID
     */
     
    public String getUniqueID() {
        return uniqueID;
    }

    /**
     * @param uniqueID the uniqueID to set
     */

    @XmlElement
    public void setUniqueID(String uniqueID) {
        this.uniqueID = uniqueID;
    }

}

